package com.me.forum.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class NoticeRequest extends BaseRequest {
    private String title;
    private String message;
    private String publisher;

    @Override
    public Boolean isLegal() {
        if (title != null && message != null && publisher != null) {
            return true;
        }
        return false;
    }
}
